2023-05-22 00:05:08
Using vmrun to automatically start VMs on boot.
Create a .bat file with the following file content. Make sure you point to the .vmx file of your VM.
"C:\Program Files (x86)\VMware\VMware Workstation\vmrun.exe" -T ws start "Z:\virtual_machine\virtual_machine.vmx" nogui
Move this .bat file to your startup folder at the following location: C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
.